package routers

import (
	"beego-api/controllers"
	"github.com/astaxie/beego"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Include(&controllers.BaseController{})
	//用户
	beego.Include(&controllers.UserController{})
	//视频
	beego.Include(&controllers.VideoController{})
	//评论
	beego.Include(&controllers.CommentController{})
	//排行榜
	beego.Include(&controllers.TopController{})
	//彈幕
	beego.Include(&controllers.BarrageController{})
	//redis
	beego.Include(&controllers.RedisDemoController{})
	//Mq
	beego.Include(&controllers.MqDemoController{})
}
